package org.idea.ietty.core.factory;

import org.idea.ietty.core.handle.ReqHandler;

/**
 * 请求处理器工厂
 *
 * @Author idea
 * @Date created in 10:15 下午 2020/5/6
 */
public class ReqHandlerFactory {

    private static ReqHandler reqHandler;

    public static ReqHandler buildReqHandler() {
        if (reqHandler == null) {
            reqHandler = new ReqHandler();
        }
        return reqHandler;
    }
}
